package com.ybkj.o2o.zhuanxian.service;

import com.ybkj.o2o.zhuanxian.entity.OrderReview;

import java.util.List;

public interface OrderReviewService {

  int insert(OrderReview orderReview);

  OrderReview findByOrderIdAndAppKey(Long orderId, String appKey);

  void deleteById(Long id, String appKey);

  OrderReview findOne(Long id, String appKey);

  Long countByDriver(Long driverId, String appKey);

  List<OrderReview> findByDriver(Long driverId, Integer limit, Integer rows, String appKey);

}
